/**
 * Created by ztt on 2018/12/14.
 */
import {ajax} from "rxjs/internal/observable/dom/ajax";

function fun04(){
    let url="http://localhost:3000/user/1";
    ajax.get(url,{Accept:"*/*"}).subscribe({
        next:(data:any)=>console.log(data)
    });
}